package day1213;

public class Test8 {
    public static void main(String[] args) {
        double []  ds={0,   0,  0};

        for (int i =  0;   i < ds.length   ;  i++) {
            ds[i]= 2*i+1;//给ds数组中存储元素
        }


        for (int i = 0; i < ds.length  ; i++) {
            double n=ds[i];//从数组中取出第i个元素
            System.out.println(n);
        }

    }
}
